load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "go_default_library",
    srcs = [
        "csi_mock_volume.go",
        "csi_volumes.go",
        "detach_mounted.go",
        "empty_dir_wrapper.go",
        "ephemeral_volume.go",
        "flexvolume.go",
        "flexvolume_mounted_volume_resize.go",
        "flexvolume_online_resize.go",
        "generic_persistent_volume-disruptive.go",
        "in_tree_volumes.go",
        "mounted_volume_resize.go",
        "nfs_persistent_volume-disruptive.go",
        "pd.go",
        "persistent_volumes.go",
        "persistent_volumes-gce.go",
        "persistent_volumes-local.go",
        "pv_protection.go",
        "pvc_protection.go",
        "regional_pd.go",
        "subpath.go",
        "volume_limits.go",
        "volume_metrics.go",
        "volume_provisioning.go",
        "volumes.go",
    ],
    importpath = "k8s.io/kubernetes/test/e2e/storage",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/api/v1/pod:go_default_library",
        "//pkg/apis/core/v1/helper:go_default_library",
        "//pkg/apis/storage/v1/util:go_default_library",
        "//pkg/client/conditions:go_default_library",
        "//pkg/kubelet/metrics:go_default_library",
        "//pkg/util/slice:go_default_library",
        "//pkg/volume/util:go_default_library",
        "//staging/src/k8s.io/api/apps/v1:go_default_library",
        "//staging/src/k8s.io/api/core/v1:go_default_library",
        "//staging/src/k8s.io/api/policy/v1beta1:go_default_library",
        "//staging/src/k8s.io/api/rbac/v1:go_default_library",
        "//staging/src/k8s.io/api/storage/v1:go_default_library",
        "//staging/src/k8s.io/api/storage/v1beta1:go_default_library",
        "//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
        "//staging/src/k8s.io/apimachinery/pkg/api/resource:go_default_library",
        "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
        "//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
        "//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
        "//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
        "//staging/src/k8s.io/apimachinery/pkg/util/errors:go_default_library",
        "//staging/src/k8s.io/apimachinery/pkg/util/intstr:go_default_library",
        "//staging/src/k8s.io/apimachinery/pkg/util/rand:go_default_library",
        "//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
        "//staging/src/k8s.io/apimachinery/pkg/util/strategicpatch:go_default_library",
        "//staging/src/k8s.io/apimachinery/pkg/util/uuid:go_default_library",
        "//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
        "//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library",
        "//staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount:go_default_library",
        "//staging/src/k8s.io/client-go/kubernetes:go_default_library",
        "//staging/src/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
        "//staging/src/k8s.io/cloud-provider/volume/helpers:go_default_library",
        "//test/e2e/framework:go_default_library",
        "//test/e2e/framework/auth:go_default_library",
        "//test/e2e/framework/deployment:go_default_library",
        "//test/e2e/framework/log:go_default_library",
        "//test/e2e/framework/metrics:go_default_library",
        "//test/e2e/framework/node:go_default_library",
        "//test/e2e/framework/pod:go_default_library",
        "//test/e2e/framework/providers/gce:go_default_library",
        "//test/e2e/framework/ssh:go_default_library",
        "//test/e2e/framework/statefulset:go_default_library",
        "//test/e2e/framework/testfiles:go_default_library",
        "//test/e2e/framework/volume:go_default_library",
        "//test/e2e/storage/drivers:go_default_library",
        "//test/e2e/storage/testpatterns:go_default_library",
        "//test/e2e/storage/testsuites:go_default_library",
        "//test/e2e/storage/utils:go_default_library",
        "//test/utils/image:go_default_library",
        "//vendor/github.com/aws/aws-sdk-go/aws:go_default_library",
        "//vendor/github.com/aws/aws-sdk-go/aws/session:go_default_library",
        "//vendor/github.com/aws/aws-sdk-go/service/ec2:go_default_library",
        "//vendor/github.com/onsi/ginkgo:go_default_library",
        "//vendor/github.com/onsi/gomega:go_default_library",
        "//vendor/github.com/prometheus/common/model:go_default_library",
        "//vendor/google.golang.org/api/googleapi:go_default_library",
    ],
)

filegroup(
    name = "package-srcs",
    srcs = glob(["**"]),
    tags = ["automanaged"],
    visibility = ["//visibility:private"],
)

filegroup(
    name = "all-srcs",
    srcs = [
        ":package-srcs",
        "//test/e2e/storage/drivers:all-srcs",
        "//test/e2e/storage/external:all-srcs",
        "//test/e2e/storage/testpatterns:all-srcs",
        "//test/e2e/storage/testsuites:all-srcs",
        "//test/e2e/storage/utils:all-srcs",
        "//test/e2e/storage/vsphere:all-srcs",
    ],
    tags = ["automanaged"],
    visibility = ["//visibility:public"],
)
